package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcWatchDataLocation;
import com.csun.cmny.provider.model.dto.watch.WatchLocationQueryDto;
import com.csun.cmny.provider.model.vo.watch.WatchLocationVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcWatchDataLocationMapper extends Mapper<DmcWatchDataLocation> {

    /**
     * query hist location list with page
     *
     * @param watchLocationQueryDto watch location query dto
     *
     * @return  the list.
     */
    List<WatchLocationVo> queryHistLocationListWithPage(WatchLocationQueryDto watchLocationQueryDto);

    /**
     * query real location by device id
     *
     * @param deviceId  device id
     *
     * @return  watch location vo
     */
    WatchLocationVo queryRealLocationByDeviceId(Long deviceId);
}